package cn.tedu.toa.management.sys.service;

import cn.tedu.toa.management.sys.entity.FKeyservices;
import cn.tedu.toa.management.sys.vo.KeyServiceVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 特色服务表 服务类
 * </p>
 *
 * @author huaqian
 * @since 2021-10-02
 */

public interface FKeyservicesService extends IService<FKeyservices> {
    //获取所有内容
    List<FKeyservices> getMenus();

    KeyServiceVo getServiceVo(String name);

    PageInfo<FKeyservices> findKeyServicesList(String name, Integer pageNum, Integer pageSize);

    FKeyservices getService(String name);

    String uploadImg(MultipartFile imageFile);

    void edit(FKeyservices keyService,String username);

    void insert(FKeyservices keyService, String UserName);

    //删除
    void delete(Integer id);
}
